<?php
/**
 * @package Spider Contacts
 * @author Web-Dorado
 * @copyright (C) 2012 Web-Dorado. All rights reserved.
 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 **/
defined('_JEXEC') or die('Restricted access');
require_once(JApplicationHelper::getPath('toolbar_html'));
$controller = JRequest::getVar('controller','show_links');
$op_type = JRequest::getVar('op_type', '');
switch ($task)
{
	
	
    case 'edit':
    case 'add':
        TOOLBAR_spidercontacts::_NEW($controller);
        break;
    default:
        TOOLBAR_spidercontacts::_DEFAULT($controller);
        break;
		case 'view':
        TOOLBAR_spidercontacts::_VIEW($controller);
        break;
}
?>